package com.uranus.common.bean.expection;


public  abstract class BaseServiceException extends RuntimeException {
    private static String DEFAULT_EXCEPTION_MESSAGE = "base error ";
    private Object detail;
    public BaseServiceException() {
        super(DEFAULT_EXCEPTION_MESSAGE);
    }

    public BaseServiceException(String message) {
        super(message);
    }
    public BaseServiceException(String message, Throwable cause) {
        super(message, cause);
    }
    public BaseServiceException(String message, Object detail) {
        super(message);
        this.detail = detail;
    }
}
